package cn.edu.ujn.park.dao;

import cn.edu.ujn.park.dao.Vehicle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface VehicleMapper {
    int deleteByPrimaryKey(Integer vehicleId);

    int insert(Vehicle row);

    int insertSelective(Vehicle row);

    Vehicle selectByPrimaryKey(Integer vehicleId);

    int updateByPrimaryKeySelective(Vehicle row);

    int updateByPrimaryKey(Vehicle row);

    Vehicle checkLogin(Vehicle vehicle);

    List<Vehicle> selectAll(Vehicle vehicle);

    Integer selectCount(Vehicle vehicle);

    String selectVehicleName(Integer vehicleId);

    Vehicle  selectByVehicleName(String name);//用车牌号查询车辆信息

}